//package lab02.test09;

/**
 * Created by Administrator on 2017/10/21.
 */
public class Student {
    //属性：“学号”、“班号”、“姓名”、“性别”、“年龄”
    String idmunber;
    String classmunber;
    String name;
    String gender;
    String age;
    //方法：“获得学号”、“获得班号”、“获得性别”、“获得姓名”、“获得年龄”、“获得年龄”
    public String getIdmunber(){return idmunber;}
    public String getClassmunber(){return classmunber;}
    public String getName(){return name;}
    public String getGender(){return gender;}
    public String getAge(){return age;}
    public String toString(){
        return (idmunber+" "+classmunber+" "+name+" "+gender+" "+age);
    }

    public static void main(String[] args) {
      Student s=new Student();
      s.idmunber="学号：1606101097";
      s.classmunber="班号：16信本03";
      s.name="姓名：李禹江";
      s.gender="性别：男";
      s.age="年龄：20";
        System.out.println(s.toString());
    }
}
